<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=
    , initial-scale=1.0">
    <title>浮动的简介</title>
    <style>
        .box1{
            width:200px;
            height:200px;
            background-color: violet;
            float:right
        }
        .box2{
            width:200px;
            height:200px;
            background-color: rgb(35, 212, 109);
            float: right;
        }
        .box3{
            width:200px;
            height:200px;
            background-color: rgb(109, 16, 185);
            float: right;
        }

    </style>
</head>
<body>
    <div class="box1"></div>
    <div class="box2"></div>
    <div class="box3"></div>
</body>
</html>